home *** CD-ROM | disk | FTP | other *** search
/ TV Mogul / TV Mogul.iso / install.bat < prev    next >
DOS Batch File  |  1994-06-16  |  1KB  |  59 lines

  1. @echo off
  2. cls
  3. CD \MOGUL
  4. echo.
  5. echo.
  6. echo ╔═══════════════════════════════════════════════════╗
  7. echo ║                                                   ║
  8. echo ║       Installation program for TV MOGUL           ║
  9. echo ║                                                   ║
  10. echo ╚═══════════════════════════════════════════════════╝
  11. echo.
  12. if exist install\info.bat goto _path
  13. echo.
  14. echo Change to your CD-ROM Drive before executing the Install program!
  15. echo.
  16. goto _exit
  17. :_path
  18. if "%1"=="" goto _template
  19. :_target
  20. if exist %1:\TVMOGUL\nul goto _copy
  21. mkdir %1:\TVMOGUL
  22. echo.
  23. if exist %1:\TVMOGUL\nul goto _copy
  24. if not exist %1:\TVMOGUL\nul echo ** An error occured trying to create %1 **
  25. echo.
  26. goto _template
  27. :_copy
  28. echo .
  29. echo Copying files to %1:\TVMOGUL...
  30. copy install\*.* %1:\TVMOGUL > nul
  31. echo.
  32. echo ** TV MOGUL has been successfully installed **
  33. echo.
  34. pause
  35. %1:
  36. cd \TVMOGUL
  37. reader readme.doc
  38. GOTO _exit
  39. :_template
  40. echo This program will create a TVMOGUL directory on your C: Drive.
  41. echo If you want TV MOGUL installed to a different Drive,
  42. echo break this program (CTRL-C) and use the command:
  43. echo    INSTALL DRIVE 
  44. echo For example, to install the program to drive D: type
  45. echo    INSTALL D
  46. echo.
  47. pause
  48. Install C
  49. :_ok
  50. echo.
  51. echo ** TV MOGUL has been successfully installed **
  52. echo.
  53. pause
  54. C:
  55. cd \TVMOGUL
  56. reader readme.doc
  57. :_exit
  58. echo on
  59.